﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Amf4Asmx.AmfObjects
{

    /// <summary>
    /// AMF3 data types.
    /// </summary>
    public enum Amf3TypeCode
    {
        /// <summary>
        /// AMF Undefined data type.
        /// </summary>
        Undefined = 0,
        /// <summary>
        /// AMF Null data type.
        /// </summary>
        Null = 1,
        /// <summary>
        /// AMF Boolean false data type.
        /// </summary>
        BooleanFalse = 2,
        /// <summary>
        /// AMF Boolean true data type.
        /// </summary>
        BooleanTrue = 3,
        /// <summary>
        /// AMF Integer data type.
        /// </summary>
        Integer = 4,
        /// <summary>
        /// AMF Number data type.
        /// </summary>
        Number = 5,
        /// <summary>
        /// AMF String data type.
        /// </summary>
        String = 6,
        /// <summary>
        /// AMF DateTime data type.
        /// </summary>
        DateTime = 8,
        /// <summary>
        /// AMF Array data type.
        /// </summary>
        Array = 9,
        /// <summary>
        /// AMF Object data type.
        /// </summary>
        Object = 10,
        /// <summary>
        /// AMF Xml data type.
        /// </summary>
        Xml = 11,
        /// <summary>
        /// AMF Xml data type.
        /// </summary>
        Xml2 = 7,
        /// <summary>
        /// AMF ByteArray data type.
        /// </summary>
        ByteArray = 12,
    }
}
